package cn.jjxx.modules.xmgl.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.xmgl.mapper.XmglFilialeProgressMapper;
import cn.jjxx.modules.xmgl.entity.XmglFilialeProgress;
import cn.jjxx.modules.xmgl.service.IXmglFilialeProgressService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 分公司进度情况
 * @Description: 分公司进度情况
 * @author yw
 * @date 2022-01-04 15:34:18
 * @version V1.0   
 *
 */
@Transactional
@Service("xmglFilialeProgressService")
public class XmglFilialeProgressServiceImpl  extends CommonServiceImpl<XmglFilialeProgressMapper,XmglFilialeProgress> implements  IXmglFilialeProgressService {

	@Override
	public boolean insertBatch(List<XmglFilialeProgress> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<XmglFilialeProgress> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
